<?php if (!defined("_INDEX")) { header("Location: /"); die; }

require_once "head.php";
?>

<div align='center'>
	<br /><br />
	<form method='post' action='/admin/enter'>
		<table cellpadding='0' cellspacing='7'><?php
			if ($route->GET('error') == 'login'){
				?><tr>
					<td colspan='2' align='center'><p style='color:red'>Неверный логин или пароль</p></td>
				</tr><?php
			}
			?><tr>
				<td width='70px'>Логин</td>
				<td width='70px'><input type='text' name='login' /></td>
			</tr>
			<tr>
				<td>Пароль</td>
				<td><input type='password' name='password' /></td>
			</tr>
			<tr>
				<td>Запомнить меня</td>
				<td><input type='checkbox' name='remember' /></td>
			</tr>
			<tr>
				<td colspan='2' align='center'><input type='submit' value='Войти' style="width:150px; height:35px" /></td>
			</tr>
		</table>
	</form>
</div>
<?php
require_once "footer.php";
?>